package com.nbsaas.boot.controller.web;

import org.springframework.cache.annotation.Cacheable;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MyController {


    @Cacheable(cacheNames = "myCache")
    @GetMapping("/hello")
    public String hello() {
        return "Hello, Reactor Netty!";
    }
}
